package org.jcb;

import android.os.Handler;
import android.util.Log;
import android.view.View;

public class ThreadController extends Thread {
volatile boolean active = true;
	
public 	ThreadController() {
}

public void stopThread() {
	active = false ;
}


public void run() {
	while (active) {
		try {
			Log.i("", "Name thread threawww=" + Thread.currentThread().getName());
			sleep(20000);			
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
	}
}


}
